package com.laikan.reader.bookreader.engines;

import java.util.List;
import java.util.Vector;

/**
 * Created by wx
 *
 * @date 2016/6/6/13:46
 * @description
 */
public class ChapterStatus {
    private EnumModle state;
    private String readJuan; //阅读券
    private String laikanBi; //来看币
    private String price;    //价格
    private String word;    //字数
    private boolean isFree = true; //章节是否是收费的 默认是免费的
    private boolean isReload = false;//是否需要重新加载
    private String chapterId;
    //当前章节id
    private int chapterIndex;
    //判断是否加载完成
    private boolean isCompData = false;
    //创建命令完成
    private String chapterString = "";
    private String chapterCmd;
    //分页完成数据
    private List<Vector<WordLinePos>> chapterList = null;
    //判断是否加载
    private boolean isLoad = false;
    private boolean isReferPage = false;
    private String chapterName;

    public EnumModle getState() {
        return state;
    }

    public void setState(EnumModle state) {
        this.state = state;
    }

    public String getReadJuan() {
        return readJuan;
    }

    public void setReadJuan(String readJuan) {
        this.readJuan = readJuan;
    }

    public String getLaikanBi() {
        return laikanBi;
    }

    public void setLaikanBi(String laikanBi) {
        this.laikanBi = laikanBi;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getWord() {
        return word;
    }

    public void setWord(String word) {
        this.word = word;
    }

    public boolean isFree() {
        return isFree;
    }

    public void setFree(boolean free) {
        isFree = free;
    }

    public boolean isReload() {
        return isReload;
    }

    public void setReload(boolean reload) {
        isReload = reload;
    }

    public String getChapterName() {
        return chapterName;
    }

    public void setChapterName(String chapterName) {
        this.chapterName = chapterName;
    }

    public String getChapterCmd() {
        return chapterCmd;
    }

    public void setChapterCmd(String chapterCmd) {
        this.chapterCmd = chapterCmd;
    }

    public String getChapterId() {
        return chapterId;
    }

    public void setChapterId(String chapterId) {
        this.chapterId = chapterId;
    }

    public boolean isReferPage() {
        return isReferPage;
    }

    public void setReferPage(boolean referPage) {
        isReferPage = referPage;
    }

    public int getChapterIndex() {
        return chapterIndex;
    }

    public void setChapterIndex(int chapterIndex) {
        this.chapterIndex = chapterIndex;
    }

    public boolean isCompData() {
        return isCompData;
    }

    public void setCompData(boolean compData) {
        isCompData = compData;
    }

    public String getChapterString() {
        return chapterString;
    }

    public void setChapterString(String chapterCmd) {
        this.chapterString = chapterCmd;
    }

    public List<Vector<WordLinePos>> getChapterList() {
        return chapterList;
    }

    public void setChapterList(List<Vector<WordLinePos>> chapterList) {
        this.chapterList = chapterList;
    }

    public boolean isLoad() {
        return isLoad;
    }

    public void setLoad(boolean load) {
        isLoad = load;
    }
}
